Repository navigation
783 - Dining Hall Header Fixes - #789
Merged
Merged
Conversation
samikabhatkar-web
temporarily deployed
to
staging-789
November 5, 2026 20:12 — with
GitHub Actions
Inactive
…mobile bottom bar colors to Figma
TheAbubakrAbu
temporarily deployed
to
staging-789
November 16, 2026 09:06 — with
GitHub Actions
Inactive
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Addressed the four fixes to the dining hall pages and settings sidebar.
Changes
format="MM/dd/yyyy (EEE)"to the MUIDatePickerinrestaurant-filters.tsx(line 154), so it shows10/27/2026 (Tue).3rd fix in detail
Frontend
Switchlabelled "Show Suitable Dishes Only", under Allergies in the signed-in "Dietary Preferences" section.user.getquery and writes it with the new mutation.showPreferencesOnlyflag.Backend
packages/db/src/schema/users.tsaddsshowSuitableDishesOnly: boolean(...).default(false).notNull()to theuserstable, the same pattern ashasOnboarded. Existing users getfalse.packages/db/migrations/0013_peterplate.sql, plusmeta/0013_snapshot.jsonand the_journal.jsonentry, generated withdrizzle-kit generate. The SQL is a single statement:packages/api/src/users/router.tsadds the mutationuser.setShowSuitableDishesOnly({ id: string, value: boolean }.UPDATE users SET showSuitableDishesOnly = value, updatedAt = now() WHERE id = id, in the same style as the existingonboardmutation.NOT_FOUNDif no user matches, andINTERNAL_SERVER_ERRORif the update fails.user.getreturns the full user row, so the new column comes back automatically. Like the otheruserprocedures, the mutation trusts theidsent by the client and doesn't check itTesting Instructions
This branch needs a database migration. The schema now includes a new column, and Better Auth queries every column on
users, so if you haven't migrated, login and the session will fail.Closes #783